Mobile terminal device, and method and computer readable medium for the same

ABSTRACT

A mobile terminal device includes a processor configured to output a first print instruction to print one or more images corresponding to one or more pieces of image data contained in a specific image data set in one case of a first case that a near field wireless communication unit establishes near field wireless communication with a printer when a display unit is showing a display created based on a first display data and a second case that the near field wireless communication unit establishes the near field wireless communication with the printer when the display unit is showing a display created based on a second display data, and output a second print instruction to print one image corresponding to one piece of image data contained in the specific image data set in the other case.

CROSS-REFERENCE TO RELATED APPLICATION APPLICATIONS

This application is a Reissue of U.S. application Ser. No. 14/182,661,filed on Feb. 18, 2014, issued as U.S. Pat. 9,058,146 on Jun. 16, 2015,which claims priority under 35 U.S.C. §119 from Japanese PatentApplication No. 2013-045316 filed on Mar. 7, 2013. The entire subjectmatter of the application is incorporated herein by reference.

In addition, U.S. application Ser. No. 15/715,875, filed Sep. 26, 2017,is a continuation reissue application of U.S. application Ser. No.15/624,272 (the present application), filed on Jun. 15, 2017. U.S.application Ser. No. 15/715,875, filed Sep. 26, 2017, is also a reissueapplication of U.S. Pat. No. 9,058,146 issued on Jun. 16, 2015(application Ser. No. 14/182,661, filed on Feb. 18, 2014).

BACKGROUND

1. Technical Field

The following description relates to one or more techniques to cause amobile terminal device to transmit, to a printer, a print instruction toprint images.

2. Related Art

Recently, a plurality of wireless communication systems have beenapplied to communication between a mobile terminal device (such as asmartphone and a tablet computer) and a printer having a printingfunction. Examples of the wireless communication systems includeBluetooth® (trademark registered by BLUETOOTH SIG, INC.), Wi-Fi®(trademark registered by Wi-Fi Alliance), and Near Field Communication(hereinafter, which may be referred to as NFC). As a wirelesscommunication technique using the wireless communication systems, forinstance, a so-called handover communication technique has beenproposed. In the handover communication technique, initially, wirelesscommunication is established via the NFC between the mobile terminaldevice and the printer, and then, the communication method is switchedvia the NFC from the NFC to another communication system capable ofhigher-speed data communication than the NFC.

Specifically, when data communication is performed between a firstcommunication device and a second communication device, initially, thefirst communication device acquires a communication system and anencryption system from the second communication device via the NFC.Then, when the acquired communication system and the acquired encryptionsystem are coincident with a predetermined communication system and apredetermined encryption system for the first communication device,respectively, the first communication device is allowed to perform datacommunication with the second communication device via anothercommunication system capable of higher-speed data communication than theNFC.

SUMMARY

However, the proposed handover communication technique has the followingproblem. When the proposed handover communication technique is appliedto the data communication between a mobile terminal device and aprinter, even after wireless communication is established therebetweenusing the handover communication technique, a further user operation(such as inputting a print instruction) is required for execution of aprinting operation after establishment of the wireless communication.Therefore, in this case, the proposed handover communication techniqueis not so user-friendly.

Aspects of the present invention are advantageous to present one or moreimproved techniques to allow a mobile terminal device to perform datacommunication with a printer in a user-friendly manner.

According to aspects of the present invention, a mobile terminal deviceis provided, which includes a display unit, a near field wirelesscommunication unit, and a processor configured to output first displaydata for controlling the display unit to display a first image inpreference to a second image, the first image being for identifying aspecific image data set containing one or more pieces of image data, thesecond image being for identifying one image corresponding to one pieceof the one or more pieces of image data contained in the specific imagedata set, output second display data for controlling the display unit todisplay the second image in preference to the first image, output afirst print instruction to print one or more images corresponding to theone or more pieces of image data contained in the specific image dataset in one case of a first case that the near field wirelesscommunication unit establishes near field wireless communication with aprinter when the display unit is showing a display created based on theoutput first display data, and a second case that the near fieldwireless communication unit establishes the near field wirelesscommunication with the printer when the display unit is showing adisplay created based on the output second display data, and output asecond print instruction to print the one image corresponding to the onepiece of image data contained in the specific image data in the othercase of the first case and the second case.

According to aspects of the present invention, further provided is amethod configured to be implemented on a processor connected with adisplay unit and a near field wireless communication unit, the methodincluding outputting first display data for controlling the display unitto display a first image in preference to a second image, the firstimage being for identifying a specific image data set contain one ormore pieces of image data, the second image being for identifying oneimage corresponding to one piece of the one or more pieces of image datacontained in the specific image data set, outputting second display datafor controlling the display unit to display the second image inpreference to the first image, outputting a first print instruction toprint one or more images corresponding to the one or more pieces ofimage data contained in the specific image data set, outputting a secondprint instruction to print one image corresponding to the one piece ofimage data contained in the specific image data set, and determining inwhich case, the near field wireless communication unit establishes nearfield wireless communication with a printer, of a first case that thedisplay unit is showing a display created based on the output firstdisplay data, and a second case that the display unit is showing adisplay created based on the output second display data, the outputtingof the first print instruction including outputting the first printinstruction when it is determined that the near field wirelesscommunication unit establishes the near field wireless communicationwith the printer in one case of the first case and the second case.

According to aspects of the present invention, further provided is anon-transitory computer readable medium storing computer readableinstructions configured to, when executed by a processor connected witha display unit and a near field wireless communication unit, cause theprocessor to output first display data for controlling the display unitto display a first image in preference to a second image, the firstimage being for identifying a specific image data set containing one ormore pieces of image data, the second image being for identifying oneimage corresponding to one piece of the one or more pieces of image datacontained in the specific image data set, output second display data forcontrolling the display unit to display the second image in preferenceto the first image, output a first print instruction to print one ormore images corresponding to the one or more pieces of image datacontained in the specific image data set in one case of a first casethat the near field wireless communication unit establishes near fieldwireless communication with a printer when the display unit is showing adisplay created based on the output first display data, and a secondcase that the near field wireless communication unit establishes thenear field wireless communication with the printer when the display unitis showing a display created based on the output second display data,and output the second print instruction to print the one imagecorresponding to the one piece of image data contained in the specificimage data in the other case of the first case and the second case.

BRIEF DESCRIPTION OF THE ACCOMPANYING DRAWINGS

FIG. 1 is a block diagram of a communication system in an embodimentaccording to one or more aspects of the present invention.

FIGS. 2 to 3 exemplify display modes of a contents data selecting screendisplayed on a panel of a mobile phone in the embodiment according toone or more aspects of the present invention.

FIGS. 4 to 6 exemplify display modes of a preview screen displayed onthe panel of the mobile phone in the embodiment according to one or moreaspects of the present invention.

FIGS. 7 to 9 are flowcharts showing a procedure of a process to beexecuted by the mobile phone to cause a multi-function peripheral(hereinafter, which may be referred to as MFP) to print images based oncontents data stored in the mobile phone in the embodiment according toone or more aspects of the present invention.

FIG. 10 exemplifies a display mode of a preview screen displayed on thepanel of the mobile phone in a modification according to one or moreaspects of the present invention.

DETAILED DESCRIPTION

It is noted that various connections are set forth between elements inthe following description. It is noted that these connections in generaland, unless specified otherwise, may be direct or indirect and that thisspecification is not intended to be limiting in this respect. Aspects ofthe invention may be implemented on circuits (such as applicationspecific integrated circuits) or in computer software as programsstorable on computer readable media including but not limited to RAMs,ROMs, flash memories, EEPROMs, CD-media, DVD-media, temporary storage,hard disk drives, floppy drives, permanent storage, and the like.

Hereinafter, an embodiment according to aspects of the present inventionwill be described with reference to the accompanying drawings.

<Configuration of Communication System>

As shown in FIG. 1, a communication system 1 of the embodiment includesa mobile phone 10, a multi-function peripheral (hereinafter, which maybe referred to as MFP) 50, an access point 80, a web server 82, and abase station 84. Each of the mobile phone 10 and the MFP 50 isconfigured to serve as a wireless LAN terminal device. Further, the MFP50 is configured to have a plurality of functions such as a printingfunction, a scanning function, a copy function, and a facsimilefunction. The access point 80 is configured to serve as a wireless LANaccess point. The web server 82 is configured to provide a client devicevia a network with a function and data owned by the web server 82.

A configuration of the mobile phone 10 will be described. The mobilephone 10 includes a central processing unit (hereinafter, which may bereferred to as CPU) 12, a storage unit 14, a mobile phone communicationinterface (hereinafter, which may be referred to as “I/F”) 16, awireless LAN interface (I/F) 18, an NFC interface (I/F) 20, a panel 22,a button input unit 24, a microphone 27, and a speaker 28. Theseelements 12, 14, 16, 18, 20, 22, 24, 27, and 28 are configured tocommunicate with each other via an input-output port 30.

The wireless LAN I/F 18 is configured to perform Wi-Fi (hereinafter,which may be referred to as WF) wireless communication 90 based on acommunication standard IEEE 802.11 or an equivalent standard. Namely,the mobile phone 10 is configured to perform data communication with theMFP 50 via the access point 80 when accessing the access point 80 so asto be allowed to perform the WF wireless communication 90.

Further, the wireless LAN I/F 18 is configured to perform Wi-Fi Direct(hereinafter, which may be referred to as WFD) wireless communication 92based on the communication standard IEEE 802.11 or an equivalentstandard. Namely, the mobile phone 10 is configured to perform directdata communication with the MFP 50 when accessing an access point of theMFP 50 so as to be allowed to perform the WFD wireless communication 92.

The NFC I/F 20 is configured to perform NFC wireless communication 94based on international standards of ISO/IEC21481 or ISO/IEC18092.Namely, the mobile phone 10 is configured to perform direct datacommunication with the MFP 50 when put into a state of the NFC wirelesscommunication 94 being available. In this respect, nonetheless, the NFCwireless communication 94 has a shorter communicable distance and alower communication speed than the WF wireless communication 90 and theWFD wireless communication 92.

The mobile phone communication I/F 16 is configured to perform mobilephone wireless communication 96 with the base station 84. Namely, themobile phone 10 is configured to perform data communication with the webserver 82 via the base station 84 when put into a state of the mobilephone wireless communication 96 being available. It is noted that, inthis disclosure, the terms “information” and “data” are defined asfollows. The term “information” is used as a higher-level broaderconcept than the term “data.” Therefore, for instance, “A data” may bereplaced with (translated into) “A information.” Further, “B data”replicated or converted from “A data” may be replaced with (translatedinto) “A information” as far as “B data” is referred to with the samemeaning as “A data.”

The CPU 12 is configured to carry out processes in accordance withprograms 32 stored in the storage unit 14. Hereinafter, the CPU 12executing a program (such as a print application 32a) may be simplyreferred to as a program name of the program. For instance, “the printapplication 32a” may represent “the CPU 12 that executes the printapplication 32a.” It is noted that the storage unit 14 may include acombination of a random access memory (hereinafter, which may bereferred to as RAM), a read only memory (hereinafter, which may bereferred to as ROM), a flash memory, a hard disk drive (hereinafter,which may be referred to as HDD), and a buffer of the CPU 12.

The storage unit 14 is configured to store the programs 32, whichcontain the print application 32a and an operating system (hereinafter,which may be referred to as OS) 32b. The print application 32a isconfigured to cause the CPU 12 to carry out a process for controllingthe MFP 50 to print images expressed by contents data stored in acontents data storage area 14a. For instance, the OS 32b may beactualized by an Android OS.

The OS 32b is a program configured to provide a basic function to beused by the print application 32a. The OS 32b contains programs forperforming the wireless communications 90, 92, 94, and 96 via thewireless LAN I/F 18, the NFC I/F 20, and the mobile phone communicationI/F 16, and programs for controlling the storage unit 14, the panel 22,and the button input unit 24.

Further, the storage unit 14 includes the contents data storage area14a, which is configured to store a plurality of pieces of contents datasuch as photograph data (e.g., JPEG data) and document data (e.g., PDFdata). Each piece of contents data contains one more pieces of imagedata. In addition, the document data generally contains a plurality ofpieces of page document data corresponding to a plurality of pages. Theprint application 32a is configured to acquire data from the storageunit 14 via the OS 32b.

The panel 22 includes a display screen configured to display variousfunctions of the mobile phone 10. The print application 32a isconfigured to output image data and cause the panel 22 to display animage based on the image data via the OS 32b. The button input unit 24includes a touch sensor, and is integrated with the panel 22. Thus, thebutton input unit 24 is configured to detect an input medium close to orin contact with the panel 22, and accept a user's button operation. Theprint application 32a is configured to acquire, via the OS 32b, dataindicating what button operation has been performed by the user.

<Operations of Mobile Phone>

An explanation will be provided about operations of the mobile phone 10in the embodiment. The mobile phone 10 is configured to cause the MFP 50to print one or more images corresponding to the contents data stored inthe contents data storage area 14a, in response to the mobile phone 10being brought close to the MFP 50.

Specifically, the contents data storage area 14a of the mobile phone 10stores, as contents data, a plurality of pieces of JPEG photograph dataand a plurality of pieces of PDF document data. Further, as shown inFIG. 2, the panel 22 displays thereon a screen for selecting intendedpieces of contents data from among the contents data stored in thecontents data storage area 14a (hereinafter, the screen may be referredto as a “contents data selecting screen”).

On the contents data selecting screen, data names 100 are displayed thatrepresent the contents data stored in the contents data storage area14a. In front of each data name 100, a confirmation box 102 is provided.The confirmation box 102 is configured to indicate whether contentsdata, corresponding to the data name 100 in front of which theconfirmation box 102 is provided, is selected by the user. Specifically,the confirmation box 102 is configured such that a check mark “∨” isplaced therein in response to a user's tapping operation applied ontothe corresponding data name 100, as shown in FIG. 3. The contents datacorresponding to the data name 100 with the check mark “∨” placed in theconfirmation box 102 in front thereof is contents data selected by theuser.

Further, by a user's tapping operation of the data name 100 with thecheck mark “∨” placed in the confirmation box 102 in front thereof, thecheck mark “∨” is removed from the confirmation box 102. Thereby, theuser's selection of the contents data is canceled. Namely, the user isallowed to select and deselect an intended piece of the contents datastored in the contents data storage area 14a. It is noted that thetapping operation may be an operation for bringing an input medium(e.g., a user's finger) close to or into contact with the panel 22.

At a lower portion of the contents data selecting screen, a previewbutton 104 is displayed. In response to a tapping operation of thepreview button 104, one or more images are displayed on the panel 22based on one or more pieces of image data contained in the selectedpiece of contents data (which may be referred to as the selectedcontents data). Namely, the pane 122 displays thereon a preview screenfor viewing the one or more images based on the one or more pieces ofimage data contained in the selected contents data.

As shown in FIG. 4, the preview screen is configured to display thereonimages 110 based on one or more pieces of image data contained in theselected contents data, on an image-by-image basis. At both sides of theimage 110 displayed, there are a back button 112 and a forward button114 displayed on the preview screen. Each of the back button 112 and theforward button 114 is configured to, when a tapping operation is appliedthereto, sequentially change the displayed image 110 to another, so asto have an intended image 110 displayed on the panel 22 (the previewscreen).

By the aforementioned operations, the user is allowed to view the images110 of the selected contents data. Then, in order to cause the MFP 50 toprint the image 110 that the user is currently viewing, the user bringsthe mobile phone 10 close to the MFP 50. When the mobile phone 10 isbrought close to the MFP 50 and put within a communicable distance fromthe MFP 50 for the NFC wireless communication 94, the NFC wirelesscommunication 94 is established between the mobile phone 10 and the MFP50.

When the NFC wireless communication 94 is established between the mobilephone 10 and the MFP 50, connection information for establishing the WFwireless communication 90 or WFD wireless communication 92 istransmitted between the mobile phone 10 and the MFP 50. This is becausethe WF wireless communication 90 and the WFD wireless communication 92are allowed to achieve higher-speed data communication than the NFCwireless communication 94, and it is preferable that the document dataor the photograph data is transmitted via the WF wireless communication90 or the WFD wireless communication 92. It is noted that a process ofswitching via the NFC wireless communication 94 to the WF wirelesscommunication 94 or the WFD wireless communication 92 capable ofhigher-speed data communication than the NFC wireless communication 94is referred to as a handover process. Hereinafter, details aboutexecution of the handover process will be described.

As an example of the connection information for establishing the WFwireless communication 90 or the WFD wireless communication 92, cited isa service set identifier (SSID) to be transmitted between the mobilephone 10 and the MFP 50. Specifically, when the NFC wirelesscommunication 94 is established, initially, an SSID to be used by thewireless LAN I/F 18 of the mobile phone 10 is transmitted from themobile phone 10 to the MFP 50 via the NFC wireless communication 94.

Then, when the SSID from the mobile phone 10 is identical to an SSID tobe used by the MFP 50, the WF wireless communication 90 or the WFDwireless communication 92 is established between the mobile phone 10 andthe MFP 50. In this case, a message, informing that the WF wirelesscommunication 90 or the WFD wireless communication 92 is established, istransmitted from the MFP 50 to the mobile phone 10.

Meanwhile, when the SSID from the mobile phone 10 is not identical tothe SSID to be used by the MFP 50, an SSID for accessing the accesspoint of the MFP 50 and establishing the WFD wireless communication 92is transmitted from the MFP 50 to the mobile phone 10 via the NFCwireless communication 94. Then, the mobile phone 10 establishes the WFDwireless communication 92 with the MFP 50 based on the SSID receivedfrom the MFP 50.

When the WFD wireless communication 92 or the WF wireless communication90 is established between the mobile phone 10 and the MFP 50, the mobilephone 10 transmits the image data to the MFP 50 in accordance withuser's operations. Specifically, as shown in FIG. 4, the preview screendisplays thereon two types of print buttons 120 and 122 below the image110. The print button 120 is for printing the image 110 being displayedon the panel 22 (hereinafter, the print button 120 may be referred to asa “displayed-image print button 120”). The print button 122 is forprinting images based on all pieces of image data contained in theselected contents data (hereinafter, the print button 122 may bereferred to as a “all-image print button 122”).

When the displayed-image print button 120 is operated by the user, theimage data of the image 110 being displayed on the panel 22 istransmitted from the mobile phone 10 to the MFP 50 via the WF wirelesscommunication 90 or the WFD wireless communication 92. When theall-image print button 122 is operated by the user, all the pieces ofimage data contained in the selected contents data are transmitted fromthe mobile phone 10 to the MFP 50 via the WF wireless communication 90or the WFD wireless communication 92. At this time, together with theimage data, a print instruction to print the image(s) 110 is transmittedfrom the mobile phone 10 to the MFP 50. Thereby, the MFP 50 is caused toperform a printing operation of printing the image(s) 110 based on theimage data received from the mobile phone 10.

When the image data to be printed is PDF image data, the PDF image datais converted into JPEG image data, since the MFP 50 is not allowed toperform a printing operation based on PDF image data. Specifically, thePDF image data is transmitted from the mobile phone 10 to the web server82 via the mobile phone wireless communication 96, and is converted bythe web server 82 into JPEG image data. Then, the converted JPEG imagedata is transmitted together with the print instruction from the webserver 82 to the mobile phone 10 via the mobile phone wirelesscommunication 96. Thereby, even though the image data to be printed isPDF image data, it is possible to cause the MFP 50 to perform a printingoperation based on the image data.

In order to print the image 110 being displayed on the preview screen,as described above, it is required to operate the displayed-image printbutton 120 on the preview screen. In this respect, however, the mobilephone 10 is configured to cause the MFP 50 to perform a printingoperation of printing the image 110 being displayed on the previewscreen without the displayed-image print button 120 being operated.

Specifically, as shown in FIG. 4, in a situation where the image 110 isbeing displayed on the preview screen, when the mobile phone 10 isbrought close to the MFP 50, the handover process is performed, in whichthe mobile phone 10 transmits a print instruction and the image data ofthe image 110 being displayed on the preview screen, to the MFP 50 viathe WF wireless communication 90 or the WFD wireless communication 92.Namely, by bringing the mobile phone 10 with the image 110 beingdisplayed on the panel 22 close to the MFP 50, it is possible to causethe MFP 50 to print the image 110. Thereby, it is possible to print theimage 110 without having to operate the displayed-image print button120, and to achieve the mobile phone 10 (the communication system 1)having user-friendliness improved.

Further, in order to print the images based on all the pieces of imagedata contained in the selected contents data, as described above, it isrequired to operate the all-image print button 122 on the previewscreen. In this respect, however, the mobile phone 10 is configured tocause the MFP 50 to perform a printing operation of printing the imagesbased on all the pieces of image data contained in the selected contentsdata.

Specifically, as shown in FIG. 3, in a situation where the selectedcontents data is selected on the contents data selecting screen, whenthe mobile phone 10 is brought close to the MFP 50, the handover processis performed, in which the mobile phone 10 transmits a print instructionand all the pieces of image data contained in the selected contents datato the MFP 50 via the WF wireless communication 90 or the WFD wirelesscommunication 92. Namely, by bringing the mobile phone 10 with the dataname 100 of the selected contents data being displayed on the panel 22close to the MFP 50, it is possible to cause the MFP 50 to print theimages based on all the pieces of image data contained in the selectedcontents data. Thereby, it is possible to print the images based on allthe pieces of image data contained in the selected contents data withouthaving to operate the all-image print button 122.

Further, when the selected contents data contains a single piece ofimage data (but does not contain any image data but the single piece ofimage data), a printing operation is carried out without the printbutton 120 or 122 being operated. Specifically, when contents datacontaining a single piece of image data is selected on the contents dataselecting screen, and the preview button 104 is operated, a previewscreen as shown in FIG. 5 is displayed on the panel 22. On the previewscreen, there is a single image 110 displayed. Since there is not animage to be displayed other than the image 110 being displayed on thepreview screen, the back button 112 or the forward button 114 is notdisplayed on the preview screen. In addition, the print button 120 or122 is not displayed on the preview screen, as the handover process iscarried out in which a print instruction and the image data of thesingle image 110 being displayed on the preview screen are automaticallytransmitted to the MFP 50.

Specifically, in a situation where the selected contents data contains asingle piece of image data, and the image 110 based on the single pieceof image data is displayed on the preview screen, when the mobile phone10 is brought close to the MFP 50, the handover process is performed. Inthe handover process, the mobile phone 10 transmits the single piece ofimage data and the print instruction to the MFP 50 via the WF wirelesscommunication 90 or the WFD wireless communication 92. Namely, when theselected contents data contains a single piece of image data, bybringing the mobile phone 10 with the image 110 based on the singlepiece of image data being displayed on the panel 22 close to the MFP 50,it is possible to cause the MFP 50 to print the image 110 based on thesingle piece of image data. Thereby, it is possible to print the image110 based on the single piece of image data without having to operatethe print button 120 or 122, and to achieve the mobile phone 10 (thecommunication system 1) having user-friendliness improved.

Further, when the contents data storage area 14a stores a single pieceof contents data (but does not store any contents data but the singlepiece of contents data), it is possible to cause the MFP 50 to perform aprinting operation based on the single piece of contents data withouthaving to perform an operation of selecting the single piece of contentsdata (e.g., without having to apply a tapping operation onto the dataname 100 on the contents data selecting screen). Namely, it is possibleto perform the printing operation based on the single piece of contentsdata without an operation of selecting the single piece of contents dataor an operation of the print button 120 or 122.

Specifically, when the contents data storage area 14a stores a singlepiece of contents data, as shown in FIG. 6, a single data name 100 ofthe single piece of contents data is displayed on the contents dataselecting screen. On the contents data selecting screen shown in FIG. 6,there is not a check mark “∨” placed in the confirmation box 102.Namely, an operation of selecting the single piece of contents data hasnot been applied onto the contents data selecting screen. Then, in asituation where the single data name 100 of the single piece of contentsdata is displayed on the contents data selecting screen, and anoperation of selecting the single piece of contents data has not beenapplied onto the contents data selecting screen, when the mobile phone10 is brought close to the MFP 50, the handover process is performed, inwhich the mobile phone 10 transmits a print instruction and all piecesof image data contained in the single piece of contents data to the MFP50 via the WF wireless communication 90 or the WFD wirelesscommunication 92. In other words, when there is a single piece ofcontents data, by bringing the mobile phone 10 with a single data name100 of the single piece of contents data being displayed on the panel 22close to the MFP 50, it is possible to print all images (based on allpieces of image data) contained in the single piece of contents data,without having to perform an operation of selecting the single piece ofcontents data or operate the all-image print button 122.

The aforementioned operations are performed in response to execution ofthe print application 32a. However, contents data may be selected inresponse to execution of another application. Even in such a case, theaforementioned operations may be performed. For instance, contents dataselected by execution of a different application may be acquired by theprint application 32a, using a shared function via the OS 32b. In thiscase, the aforementioned operations may be performed for the contentsdata selected by execution of the different application. At this time,since intended pieces of contents data have been selected by executionof the different application, a series of operations until the intendedpieces of contents data are selected on the contents data selectingscreen may not be required. Therefore, in response to execution of theprint application 32a, subsequent operations to be performed afterselection of contents data on the contents data selecting screen may beperformed.

<Print Application>

The aforementioned printing operation is performed when the printapplication 32a is executed by the CPU 12. Hereinafter, referring toFIGS. 7 to 9, an explanation will be provided about a procedure to causethe MFP 50 to print images based on the contents data stored in themobile phone 10.

When the mobile phone 10 is powered on, and the print application 32a islaunched, a process according to a main flow is started. When the useroperates a home screen of the mobile phone 10 and launches the printapplication 32a, the print application 32a immediately after theactivation thereof is in a state where there is not any contents dataselected. When the user launches the print application 32a afteroperating a different application and selecting contents data, thelaunched print application 32a acquires the contents data selected viathe different application. In S100 of the main flow, the CPU 12 performsthe aforementioned handover process, and then goes to S104. In S104, theCPU 12 determines whether there is contents data selected by executionof an application different from the print application 32a.Specifically, if the storage unit 14 stores a flag which the CPU 12 hascaused the storage unit 14 to store when the print application 32a hasacquired contents data selected by execution of a different application,using a shared function via the OS 32b, the CPU 12 determines that thereis contents data selected by execution of an application different fromthe print application 32a (S104: Yes). In this case (S104: Yes), the CPU12 goes to S108.

When determining that there is not contents data selected by executionof an application different from the print application 32a (S104: No),the CPU 12 goes to S106. In S106, the CPU 12 determines whether there iscontents data selected on the contents data selecting screen. Namely,the CPU 12 determines whether the CPU 12 has acquired, via the OS 32b,data generated in response to a tapping operation applied to a data name100. When determining that there is contents data selected on thecontents data selecting screen (S106: Yes), the CPU 12 goes to S108.

In S108, the CPU 12 determines whether the preview screen is currentlydisplayed on the panel 22. Specifically, when the CPU 12 outputs, viathe OS 32b, screen data for displaying a predetermined screen, the OS32b outputs data informing that the predetermined screen is displayed,in response to the predetermined screen being displayed. When acquiringthe data from the OS 32b, the CPU 12 causes the storage unit 14 to storea flag indicating that the CPU 12 has acquired the data. Further, whenthe display of the predetermined screen is terminated, the OS 32boutputs data informing that the display of the predetermined screen isterminated. When acquiring the data, the CPU 12 invalidates the flagstored in the storage unit 14. As described in the section <Operationsof Mobile Phone>, when a tapping operation is applied onto the previewbutton 104 displayed on the contents data selecting screen, the CPU 12outputs, via the OS 32b, screen data for displaying the preview screenbased on the image data contained in the selected contents data. InS108, when the storage unit 14 stores therein a flag indicating that theCPU 12 has acquired data output from the OS 32b in response to thepreview screen being displayed, the CPU 12 determines that the previewscreen is currently displayed on the panel 22 (S108: Yes). Then, the CPU12 goes to S110. It is noted that, when (the CPU 12 that is executing)the print application 32a acquires contents data selected by executionof a different application, using a shared function via the OS 32b, theCPU 12 outputs, via the OS 32b, screen data for displaying the previewscreen based on image data contained in the selected contents data.Therefore, when the CPU 12 determines that there is contents dataselected by execution of an application different from the printapplication 32a (S104: Yes), the preview screen may be displayed on thepanel 22. Further, it is noted that the case where the preview screen isnot displayed on the panel 22 includes a case where the contents dataselecting screen is displayed on the panel 22, and a case where thepreview screen has not been displayed even after the CPU 12 has outputs,via the OS 32b, the screen data for displaying the preview screen.

In S110, the CPU 12 determines whether what is to be displayed on thepreview screen is a single image, i.e., whether the selected contentsdata contains a single piece of image data (but does not contain anyimage data but the single piece of image data). When determining thatwhat is to be displayed on the preview screen is a single image (S110:Yes), the CPU 12 goes to S120. Meanwhile, when determining that what isto be displayed on the preview screen is not a single image (S110: No),the CPU 12 goes to S112.

In S112, the CPU 12 displays the displayed-image print button 120 andthe all-image print button 122 on the panel 22. Namely, the CPU 12outputs, via the OS 32b, image data for displaying the displayed-imageprint button 120 and the all-image print button 122 on the panel 22.Then, the CPU 12 goes to S114.

In S114, the CPU 12 determines whether one of the displayed-image printbutton 120 and the all-image print button 122 has been operated before alapse of a predetermined time period from a time of execution of S112.Namely, the CPU 12 determines whether the CPU 12 has acquired, via theOS 32b, data generated in response to a tapping operation applied ontoone of the displayed-image print button 120 and the all-image printbutton 122. When determining that the predetermined time period haselapsed from the time of execution of S112 without the displayed-imageprint button 120 or the all-image print button 122 being operated (S114:No), the CPU 12 goes to S116.

In S116, the CPU 12 controls the wireless LAN I/F 18 to transmit imagedata of the image being displayed on the panel 22 and a printinstruction to print the image based on the image data, to the MFP 50via the WF wireless communication 90 or the WFD wireless communication92. Then, the execution of the print application 32a is terminated.Thereby, the MFP 50 is caused to print the image being displayed on thepanel 22 of the mobile phone 10.

Meanwhile, when determining that one of the displayed-image print button120 and the all-image print button 122 has been operated before a lapseof the predetermined time period from the time of execution of S112(S114: Yes), the CPU 12 goes to S118. In S118, the CPU 12 determineswhether the displayed-image print button 120 has been operated. Namely,the CPU 12 determines whether the CPU 12 has acquired, via the OS 32b,data generated in response to a tapping operation applied onto thedisplayed-image print button 120. When determining that thedisplayed-image print button 120 has been operated (S118: Yes), the CPU12 goes to S116.

Meanwhile, when determining that the displayed-image print button 120has not been operated (S118: No), the CPU 12 goes to S120. In S120, theCPU 12 controls the wireless LAN I/F 18 to transmit all pieces of imagedata contained in the selected contents data and a print instruction toprint images based on all the pieces of image data, to the MFP 50 viathe WF wireless communication 90 or the WFD wireless communication 92.Then, the execution of the print application 32a is terminated. Thereby,the MFP 50 is caused to print the images based on all the pieces ofimage data contained in the selected contents data.

Further, in S106, when determining that there is not contents dataselected on the contents data selecting screen (S106: No), the CPU 12goes to S122. In S122, the CPU 12 determines whether the contents datastored in the storage unit 14 contains a plurality of pieces of contentsdata. When determining that the contents data stored in the storage unit14 contains a single piece of contents data (S122: No), the CPU 12 goesto S124.

Meanwhile, when determining that the contents data stored in the storageunit 14 contains a plurality of pieces of contents data (S122: Yes), theCPU 12 goes to S125. In S125, the CPU 12 determines whether the contentsdata selecting screen is currently displayed on the panel 22, in amethod equivalent to the method for the determination as to whether thepreview screen is displayed on the panel 22. When determining that thecontents data selecting screen is currently displayed on the panel 22(S125: Yes), the CPU 12 goes to S128. Meanwhile, when determining thatthe contents data selecting screen is not currently displayed on thepanel 22 (S125: No), the CPU 12 goes to S126. In S126, the CPU 12controls the panel 22 to display thereon the contents data selectingscreen. Namely, the CPU 12 outputs, via the OS 32b, image data fordisplaying the contents data selecting screen on the panel 22. Then, theCPU 12 goes to S128. It is noted that the case where the contents dataselecting screen is not displayed on the panel 22 includes a case wherethe preview screen is displayed on the panel 22.

In S128, the CPU 12 determines whether there is contents data selectedon the contents data selecting screen. Namely, the CPU 12 determineswhether the CPU 12 has acquired, via the OS 32b, data generated inresponse to a tapping operation applied onto a data name 100. Whendetermining that there is not contents data selected on the contentsdata selecting screen (S128: No), the CPU 12 goes back to S128 torepeatedly make the determination in S128.

When determining that there is contents data selected on the contentsdata selecting screen (S128: Yes), the CPU 12 goes to S124. In S124, theCPU 12 determines whether image data contained in the selected contentsdata is image data printable by the MFP 50. Namely, the CPU 12determines whether image data contained in the selected contents data isJPEG image data. When determining that the image data contained in theselected contents data is image data printable by the MFP 50 (S124:Yes), the CPU 12 goes to S116, in which the CPU 12 performs theaforementioned operation in the step.

Meanwhile, when determining that the image data contained in theselected contents data is not image data printable by the MFP 50 (S124:No), the CPU 12 goes to S130. In S130, the CPU 12 outputs, via the OS32b, PDF image data to be printed and an IP address of the mobile phone10, so as to cause the mobile phone communication I/F 16 to transmit thePDF image data and the IP address to the web server 82. Then, the CPU 12goes to S132. It is noted that, in the web server 82, the PDF image datareceived from the mobile phone 10 is converted into JPEG image data.Then, the converted JPEG image data is transmitted to the mobile phone10.

In S132, the CPU 12 acquires, via the OS 32b, the JPEG image dataconverted by the web server 82. Then, the CPU 12 goes to S120, in whichthe CPU 12 performs the aforementioned operation in the step.

Further, in S108, when determining that the preview screen is notcurrently displayed on the panel 22 (S108: No), the CPU 12 goes to S124,in which the CPU 12 makes the aforementioned determination in the step.

Hereinabove, the embodiment according to aspects of the presentinvention has been described. The present invention can be practiced byemploying conventional materials, methodology and equipment.Accordingly, the details of such materials, equipment and methodologyare not set forth herein in detail. In the previous descriptions,numerous specific details are set forth, such as specific materials,structures, chemicals, processes, etc., in order to provide a thoroughunderstanding of the present invention. However, it should be recognizedthat the present invention can be practiced without reapportioning tothe details specifically set forth. In other instances, well knownprocessing structures have not been described in detail, in order not tounnecessarily obscure the present invention.

Only an exemplary embodiment of the present invention and but a fewexamples of their versatility are shown and described in the presentdisclosure. It is to be understood that the present invention is capableof use in various other combinations and environments and is capable ofchanges or modifications within the scope of the inventive concept asexpressed herein. For example, the following modifications are possible.It is noted that, in the following modifications, explanations of thesame configurations as exemplified in the aforementioned embodiment willbe omitted.

[Modifications]

In the aforementioned embodiment, when operating the mobile phone 10,the user is allowed to cause the MFP 50 to print a single image beingdisplayed on the panel 22 of the mobile phone 10, or print images basedon all pieces of image data contained in the selected contents data.Nonetheless, the mobile phone 10 may be configured to cause the MFP 50to print a plurality of intended images. For example, as shown in FIG.10, a confirmation box 130 may be displayed at an upper portion of theimage 110 displayed on the panel 22. The confirmation box 130 may beconfigured to indicate whether the image 110 with the confirmation box130 provided therefor is selected by the user. Specifically, theconfirmation box 130 may be configured such that a check mark “∨” isplaced therein in response to a tapping operation applied onto thecorresponding image 110. The image 110 with the check mark “∨” placed inthe confirmation box 130 is an image selected by the user. The user maybe allowed to select a plurality of intended images. Then, when the useroperates a print button 132 displayed below the image 110, the mobilephone 10 may transmit, to the MFP 50, image data corresponding to theselected images and a print instruction to print the images based on theimage data. Thereby, it is possible to print a plurality of intendedimages.

Further, the mobile phone 10 may be configured to cause the MFP 50 toprint a plurality of intended images without the print button 132 beingoperated. Specifically, when the mobile phone 10 on which a plurality ofimages 110 has been selected by user's operations is brought close tothe MFP 50, the mobile phone 10 may transmit, to the MFP 50, image datacorresponding to the selected images 110 and a print instruction toprint the images 110 based on the image data. Thus, it is possible toprint a plurality of intended images without having to operate the printbutton 132.

In the aforementioned embodiment, the mobile phone 10 is configured tocontrol the panel 22 to display, on the contents data selecting screen,the data names 100 representing the contents data without displaying theimages 110 based on the image data contained in the contents data.Further, the mobile phone 10 is configured to control the panel 22 todisplay, on the preview screen, the images 110 based on the image datacontained in the selected contents data without displaying the data name100 of the selected contents data. However, the respective display modesof the contents data selecting screen and the preview screen are notlimited to the above modes. For instance, the contents data selectingscreen may be configured to display thereon the data names 100representing the contents data, and the images 110 based on the imagedata contained in the contents data. In this case, the contents dataselecting screen may be configured to display the data names 100 inpreference to the images 110 in various manners as well as theaforementioned manner of displaying the data names 100 withoutdisplaying the images 110. Specifically, for example, the contents dataselecting screen may be configured to display the data names 100 in amore highlighted manner than the images 110. Further, the preview screenmay be configured to display thereon the images 110 based on the imagedata contained in the selected contents data, and the data name 100 ofthe selected contents data. In this case, the preview screen may beconfigured to display the images 110 in a more highlighted manner thanthe data name 100. It is noted that a display mode to display one of thedata name(s) 100 and the image(s) 110 in a more highlighted manner thanthe other on each of the contents data selecting screen and the previewscreen may include a mode to display one of the data name(s) 100 and theimage(s) 110 in a larger size than the other, and a mode to entirelydisplay one of the data name(s) 100 and the image(s) 110 and partiallydisplay the other.

In the aforementioned embodiment, when displaying on the panel 22 images110 based on image data, the CPU 12 outputs screen data containing pathinformation for accessing the image data. However, the screen data maycontain path information for accessing thumbnail data generated based onthe image data, or may contain the image data. Furthermore, the screendata may contain path information for accessing image data converted bythe web server 82 and/or thumbnail data generated by the web server 82.

Further, the image data transmitted from the mobile phone 10 to the MFP50 may contain image data edited by the mobile phone 10 based on theimage data previously stored in the mobile phone 10, image data editedby the web server 82 based on the image data previously stored in themobile phone 10, or the image data previously stored in the mobile phone10. Furthermore, the mobile phone 10 may transmit, to the MFP 50,information (such as a Uniform Resource Locator (URL)) for acquiringimage data stored in the web server 82, and then the MFP 50 may acquirethe image data from the web server 82. Moreover, the mobile phone 10 maytransmit, together with the image data, print setting data to be used ina printing operation based on the image data.

Further, the contents data selecting screen may be configured to displaythereon characters (such as letters, numbers, and symbols) foridentifying the contents data, instead of the data names 100.

Further, the device configured to issue a print instruction when broughtclose to the MFP 50 is not limited to the mobile phone 10, but mayinclude a tablet device or a smartphone.

The aforementioned embodiment provides an example where the CPU 12 ofthe mobile phone 10 is configured to execute various operations based onthe print application 32a. However, the CPU 12 of the mobile phone 10may be configured to issue, based on the print application 32a,instructions to cause other elements (such as the OS 32b, other systems,and hardware elements) to execute various operations.

In the aforementioned embodiment, when the selected contents datacontains a single piece of image data, the mobile phone 10 is allowed tocause the MFP 50 to perform a printing operation based on the singlepiece of image data without the print button 120 or 122 being operated.In this regard, when the selected contents data contains a single pieceof image data, the mobile phone 10 may be configured to display thedisplayed-image print button 120 on the panel 22, and to cause the MFP50 to perform the printing operation based on the single piece of imagedata in response to the displayed-image print button 120 being operated.Further, even when the selected contents data contains a single piece ofimage data, the mobile phone 10 may cause the MFP 50 to perform theprinting operation based on the single piece of image data in the samemanner as when the selected contents data contains a plurality of piecesof image data. Specifically, the mobile phone 10 may cause the MFP 50 toperform the printing operation based on the single piece of image datawithout executing the operation in S110.

In the aforementioned embodiment, when executing the print application32a, the mobile phone 10 (the CPU 12) performs the process according tothe flow shown in FIGS. 7 to 9. However, the mobile phone 10 (the CPU12) may not execute S104, S110, S112, S114, S118, and S122 to S132 inthe flow. In this case, when the preview screen is currently displayedon the panel 22 (S108: Yes), the CPU 12 may go to S116. Further, whenthe preview screen is not currently displayed on the panel 22 (S108:No), the CPU 12 may go to S120. Moreover, the mobile phone 10 (the CPU12) may execute a part of S104, S110, S112, S114, S118, and S122 toS132, instead of not executing any of the steps.

The mobile phone 10 may include a plurality of display units such as adisplay panel usable when a cover is open and a display panel usablewhen the cover is closed. The mobile phone 10 may include a plurality ofoperable input units such as a touch panel usable when the cover is openand a touch panel usable when the cover is closed. Alternatively, themobile phone 10 may include a plurality of operable input units such asa touch panel and a keyboard.

Each program exemplified in the aforementioned embodiment may includeonly a single program module, or may include a plurality of programmodules. Each individual configuration exemplified in the aforementionedembodiment may be replaced with a replaceable different configuration.Aspects of the present invention may be achieved by, as well as the CPU12 executing the print application 32a, various configurations such as acomputer executing a program (e.g., an operating system, an application,or a program) other than the print application 32a, a hardware element(e.g., the panel 22) operating in accordance with instructions from acomputer, a configuration of a computer and a hardware element thatoperate in collaboration with each other, a computer executing aplurality of programs in collaboration with each other, and a hardwareconfiguration that operates in accordance with instructions from acomputer executing a plurality of programs in collaboration with eachother.

What is claimed is:
 1. A mobile terminal device comprising: a displayunit; a near field wireless communication unit; and a processorconfigured to: output first display data for controlling the displayunit to display a data set identifying image in preference to asingle-image identifying image, the data set identifying image being foridentifying a specific image data set containing two or more pieces ofimage data, the single-image identifying image being for identifying oneimage corresponding to one piece of the two or more pieces of image datacontained in the specific image data set; output second display data forcontrolling the display unit to display the single-image identifyingimage in preference to the data set indentifying image; output a firstprint instruction to print two or more images corresponding to the twoor more pieces of image data contained in the specific image data set ina first case in which the near field wireless communication unitestablishes near field wireless communication with a printer when thedisplay unit is displaying the data set identifying image in preferenceto the single-image indentifying image, based on the output firstdisplay data; and output a second print instruction to print the oneimage corresponding to the one piece of image data contained in thespecific image data set in a second case in which the near fieldwireless communication unit establishes the near field wirelesscommunication with the printer when the display unit is displaying thesingle-image identifying image in preference to the data setindentifying image, based on the output second display data.
 2. Themobile terminal device according to claim 1, further comprising animage-data-set selection acceptor configured to accept a selectingoperation of selecting an image data set from among a plurality of imagedata sets stored in a storage unit, and wherein the processor is furtherconfigured to, in response to the image-data-set selection acceptoraccepting the selecting operation, perform: outputting the first displaydata in which the data set identifying image is for identifying theimage data set selected by the selecting operation accepted by theimage-data-set selection acceptor, and the single-image indentifyingimage is for identifying one image corresponding to one piece of imagedata contained in the selected image data set; outputting the seconddisplay data in which the data set identifying image is for identifyingthe selected image data set, and the single-image identifying image isfor identifying the one image corresponding to the one piece of imagedata contained in the selected image data set; outputting the firstprint instruction to print two or more images corresponding to everypiece of image data contained in the selected image data set; andoutputting the second print instruction to print the one imagecorresponding to the one piece of image data contained in the selectedimage data set.
 3. The mobile terminal device according to claim 2,wherein the processor is further configured to output, as the firstprint instruction, an instruction to print two or more imagescorresponding to every piece of image data contained in a single imagedata set stored in the storage unit, in response to the near fieldwireless communication unit establishing the near field wirelesscommunication with the printer at a time different from a first timewhen the display unit is showing the display created based on the firstdisplay data and a second time when the display unit is showing thedisplay created based on the second display data, when the storage unitdoes not store any image data set but the single image data set.
 4. Themobile terminal device according to claim 2, wherein the processor isfurther configured to output, as the first print instruction, aninstruction to print two or more images corresponding to every piece ofimage data contained in the selected image data set stored in thestorage unit, in response to the near field wireless communication unitestablishing the near field wireless communication with the printer at atime different from a first time when the display unit is showing thedisplay created based on the first display data and a second time whenthe display unit is showing the display created based on the seconddisplay data, after the image-data-set selection acceptor accepts theselecting operation.
 5. The mobile terminal device according to claim 4,wherein the image-data-set selection acceptor is further configured toaccept the selecting operation of selecting an image data set from amongthe plurality of image data sets stored in a storage unit, in responseto the near field wireless communication unit establishing the nearfield wireless communication with the printer at a time different fromthe first time and the second time, when the image-data-set selectionacceptor has not accepted the selecting operation, and wherein theprocessor is further configured to output, as the first printinstruction, the instruction to print the two or more imagescorresponding to every piece of image data contained in the selectedimage data set stored in the storage unit, after the image-data-setselection acceptor accepts the selecting operation.
 6. The mobileterminal device according to claim 2, further comprising a memoryconfigured to store first instructions and second instructionsexecutable by the processor, the second instructions being differentfrom the first instructions, wherein the processor is further configuredto, when executing the first instructions stored in the memory, performthe outputting of the first display data, the outputting of the seconddisplay data, the outputting of the first print instruction, and theoutputting of the second print instruction, and wherein the processor isfurther configured to, when an image data set is selected, by executionof the second instructions stored in the memory, from among theplurality of image data sets stored in the storage unit, perform:outputting, as the first print instruction, an instruction to print twoor more images corresponding to every piece of image data contained inthe image data set selected by execution of the second instructions; andoutputting, as the second print instruction, an instruction to print oneimage corresponding to one piece of image data contained in the imagedata set selected by execution of the second instructions.
 7. The mobileterminal device according to claim 1, further comprising an image-dataselection acceptor configured to accept a data selecting operation ofselecting one piece of image data from among the two or more pieces ofimage data contained in the specific image data set, wherein theprocessor is further configured to output, as the second printinstruction, an instruction to print one image corresponding to the onepiece of image data selected by the data selecting operation accepted bythe image-data selection acceptor, in response to the image-dataselection acceptor accepting the data selecting operation.
 8. The mobileterminal device according to claim 1, wherein the two or more pieces ofimage data contained in the specific image data set comprise a pluralityof pieces of document data separated on a page-by-page basis.
 9. Themobile terminal device according to claim 1, wherein the processor isfurther configured to: output, as the first display data, data forcontrolling the display unit to display the data set indentifying imagewithout displaying the single-image identifying image; and output, asthe second display data, data for controlling the display unit todisplay the single-image indentifying image without displaying the dataset identifying image.
 10. The mobile terminal device according to claim1, wherein the processor is further configured to: output, as the firstdisplay data, data for controlling the display unit to display the dataset indentifying image in a more highlighted manner than thesingle-image identifying image; and output, as the second display data,data for controlling the display unit to display the single-imageidentifying image in a more highlighted manner than the data setidentifying data set image.
 11. A method configured to be implemented ona processor connected with a display unit and a near field wirelesscommunication unit, the method comprising: outputting first display datafor controlling the display unit to display a data set identifying imagein preference to a single-image identifying image, the data setidentifying image being for identifying a specific image data setcontaining two or more pieces of image data, the single-imageidentifying image being for identifying one image corresponding to onepiece of the two or more pieces of image data contained in the specificimage data set; outputting second display data for controlling thedisplay unit to display the single-image identifying image in preferenceto the data set identifying image; determining in which case, the nearfield wireless communication unit establishes near field wirelesscommunication with a printer, of: a first case in which the display unitis showing a display created based on the output first display data; anda second case in which the display unit is showing a display createdbased on the output second display data; outputting a first printinstruction to print two or more images corresponding to the two or morepieces of image data contained in the specific image data set when it isdetermined that the near field wireless communication unit establishesthe near field wireless communication with the printer in the firstcase; and outputting a second print instruction to print one imagecorresponding to the one piece of image data contained in the specificimage data set when it is determined that the near field wirelesscommunication unit establishes the near field wireless communicationwith the printer in the second case.
 12. A non-transitory computerreadable medium storing computer readable instructions configured to,when executed by a processor connected with a display unit and a nearfield wireless communication unit, cause the processor to: output firstdisplay data for controlling the display unit to display a data setidentifying image in preference to a single-image identifying image, thedata set identifying image being for identifying a specific image dataset containing two or more pieces of image data, the single-imageidentifying image being for identifying one image corresponding to onepiece of the two or more pieces of image data contained in the specificimage data set; output second display data for controlling the displayunit to display the single-image identifying image in preference to thedata set indentifying image; output a first print instruction to printtwo or more images corresponding to the two or more pieces of image datacontained in the specific image data set in a first case in which thenear field wireless communication unit establishes near field wirelesscommunication with a printer when the display unit is displaying thedata set identifying image in preference to the single-image identifyingimage, based on the output first display data; and output a second printinstruction to print the one image corresponding to the one piece ofimage data contained in the specific image data set in a second case inwhich the near field wireless communication unit establishes the nearfield wireless communication with the printer when the display unit isdisplaying the single-image identifying image in preference to the dataset identifying image, based on the output second display data.
 13. Thenon-transitory computer readable medium according to claim 12, whereinthe processor is connected to an image-data-set selection acceptorconfigured to accept a selecting operation of selecting an image dataset from among a plurality of image data sets stored in a storage unit,wherein the computer readable instructions are further configured to,when executed by the processor, cause the processor to, in response tothe image-data-set selection acceptor accepting the selecting operation,perform: outputting the first display data in which the data setidentifying image is for identifying the image data set selected by theselecting operation accepted by the image-data-set selection acceptor,and the single-image identifying image is for identifying one imagecorresponding to one piece of image data contained in the selected imagedata set; and outputting the second display data in which the data setidentifying image is for identifying the selected image data set, andthe single-image identifying image is for identifying the one imagecorresponding to the one piece of image data contained in the selectedimage data set; outputting the first print instruction to print two ormore images corresponding to every piece of image data contained in theselected image data set; and outputting the second print instruction toprint the one image corresponding to the one piece of image datacontained in the selected image data set.
 14. The non-transitorycomputer readable medium according to claim 13, wherein the computerreadable instructions are further configured to, when executed by theprocessor, cause the processor to output, as the first printinstruction, an instruction to print two or more images corresponding toevery piece of image data contained in a single image data set stored inthe storage unit, in response to the near field wireless communicationunit establishing the near field wireless communication with the printerat a time different from a first time when the display unit is showingthe display created based on the first display data and a second timewhen the display unit is showing the display created based on the seconddisplay data, when the storage unit does not store any image data setbut the single image data set.
 15. The non-transitory computer readablemedium according to claim 13, wherein the computer readable instructionsare further configured to, when executed by the processor, cause theprocessor to output, as the first print instruction, an instruction toprint two or more images corresponding to every piece of image datacontained in the selected image data set stored in the storage unit, inresponse to the near field wireless communication unit establishing thenear field wireless communication with the printer at a time differentfrom a first time when the display unit is showing the display createdbased on the first display data and a second time when the display unitis showing the display created based on the second display data, afterthe image-data-set selection acceptor accepts the selecting operation.16. The non-transitory computer readable medium according to claim 15,wherein the image-data-set selection acceptor is further configured toaccept the selecting operation of selecting an image data set from amongthe plurality of image data sets stored in a storage unit, in responseto the near field wireless communication unit establishing the nearfield wireless communication with the printer at a time different fromthe first time and the second time, when the image-data-set selectionacceptor has not accepted the selecting operation, and wherein thecomputer readable instructions are further configured to, when executedby the processor, cause the processor to output, as the first printinstruction, the instruction to print the two or more imagescorresponding to every piece of image data contained in the selectedimage data set stored in the storage unit, after the image-data-setselection acceptor accepts the selecting operation.
 17. Thenon-transitory computer readable medium according to claim 12, whereinthe processor is connected to an image-data selection acceptorconfigured to accept a data selecting operation of selecting one pieceof image data from among the two or more pieces of image data containedin the specific image data set, and wherein the computer readableinstructions are further configured to, when executed by the processor,cause the processor to output, as the second print instruction, aninstruction to print one image corresponding to the one piece of imagedata selected by the data selecting operation accepted by the image-dataselection acceptor, in response to the image-data selection acceptoraccepting the data selecting operation.
 18. The mobile terminal deviceaccording to claim 1, wherein the processor is further configured to:specify a plurality of images to be printed from among the two or moreimages corresponding to the two or more pieces of image data containedin the specific image data set, via the single-image identifying image;and output a third print instruction to print the plurality of imagesspecified from among the two or more images corresponding to the two ormore pieces of image data contained in the specific image data set, in athird case in which the near field wireless communication unitestablishes the near field wireless communication with the printer in astate where the plurality of images have been specified via thesingle-image identifying image.